body {
display: grid;
place-items: center;
height: 100vh;
background: #151515;
font-family: "Poppins", sans-serif;
font-size: 27px;
font-weight: 700;
line-height: 1.5;
}
a {
background-image: linear-gradient(to right, #54b3d6, #54b3d6 50%, #fff 50%);
background-size: 200% 100%;
background-position: -100%;
display: inline-block;
padding: 5px 0;
position: relative;
background-clip: text;
-webkit-text-fill-color: transparent;
transition: all 0.3s ease-in-out;
}
a::before {
content: "";
background: #54b3d6;
display: block;
position: absolute;
bottom: -3px;
left: 0;
width: 0;
height: 3px;
transition: all 0.3s ease-in-out;
}
a:hover {
background-position: 0;
}
a:hover::before {
width: 100%;
}